package com.teng.demo04.service;

import com.teng.demo04.entity.User;
import com.teng.demo04.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService{
    @Autowired
    UserMapper userMapper;

    @Override
    public User userLogin(String userName) {
        return userMapper.userLogin(userName);
    }
}
